<!DOCTYPE html>
<html>
<head>
    <title>查看成绩 - {$site_info.site_name|default=''}</title>
    <meta name="keywords" content="" />
    <meta name="description" content="">
    <include file="public@head"/>
</head>
<body class="body-white" >
<include file="public@nav" />
<div class="container tc-main">
    <div class="row">
        <div class="col-md-3">
            <include file="public@jiaxiaonav" />
        </div>
        <div class="col-md-9">
            <!--标题 -->
            <div class="personal-nav">
                <h2>查看成绩</h2>
            </div>
            <!--标题 -->
            <div class="personal-class">
                <ul>
                    <if condition="count($data)==0">
                        该学生暂时还没有考试成绩
                        <else/>
                        <foreach name="data" item="vo">
                            <li>
                                <h3>{$vo.classname}</h3>

                                <dl class="info">
                                    <if condition="$vo.question1 gt 0">
                                        <dd><em>第一题：</em>{$vo.question1}</dd>
                                    </if>
                                    <if condition="$vo.question2 gt 0">
                                        <dd><em>第二题：</em>{$vo.question2}</dd>
                                    </if>
                                    <if condition="$vo.question3 gt 0">
                                        <dd><em>第三题：</em>{$vo.question3}</dd>
                                    </if>
                                    <if condition="$vo.question4 gt 0">
                                        <dd><em>第四题：</em>{$vo.question4}</dd>
                                    </if>
                                    <if condition="$vo.question5 gt 0">
                                        <dd><em>第五题：</em>{$vo.question5}</dd>
                                    </if>
                                    <if condition="$vo.question6 gt 0">
                                        <dd><em>第六题：</em>{$vo.question6}</dd>
                                    </if>
                                    <if condition="$vo.extra_score gt 0">
                                        <dd><em>附加题：</em>{$vo.extra_score}</dd>
                                    </if>

                                    <dd><em>总分：</em>{$vo.total_score}</dd>
                                    <dd><em>班级平均分：</em>{:number_format($vo.average,2)}</dd>
                                    <dd><em>成绩发布时间：</em>{:date('Y-m-d',$vo.create_time)}</dd>
                                </dl>
                            </li>
                        </foreach>
                    </if>
                </ul>
                <div class="pagination">{$page|default=''}</div>
            </div>
        </div>
    </div>
</div>

<!-- /container -->



<include file="public@footer" />
<include file="public@scripts" />
</body>
</html>